package com.huang.A02_constructor;

/**
 * 目标
 * javabean学习
 */
public class Demo2 {
    public static void main(String[] args) {
        Teacher t1 = new Teacher();
        t1.setAge(77);
        TeacherOperator to = new TeacherOperator(t1);
        to.printAge();
    }
}